package org.dromara.pe.service;

import org.dromara.pe.domain.TaskReservation;
import org.dromara.pe.domain.vo.TaskReservationVo;
import org.dromara.pe.domain.bo.TaskReservationBo;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 预约审核名单Service接口
 *
 * @author Lion Li
 * @date 2024-09-02
 */
public interface ITaskReservationService {

    /**
     * 查询预约审核名单
     */
    TaskReservationVo queryById(Long reservationId);

    /**
     * 查询预约审核名单列表
     */
    TableDataInfo<TaskReservationVo> queryPageList(TaskReservationBo bo, PageQuery pageQuery);

    /**
     * 查询预约审核名单列表
     */
    List<TaskReservationVo> queryList(TaskReservationBo bo);

    /**
     * 新增预约审核名单
     */
    Boolean insertByBo(TaskReservationBo bo);

    /**
     * 修改预约审核名单
     */
    Boolean updateByBo(TaskReservationBo bo);

    /**
     * 校验并批量删除预约审核名单信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    Boolean batchDelete(TaskReservationBo bo);
}
